﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace PIP.Database.Migrations.Yygh.Migrations
{
    public partial class Yygh_V114 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "HospitalDepartment",
                columns: new[] { "Id", "CreatedTime", "IsDeleted", "UpdatedTime", "departAddress", "departId", "departIntro", "departName", "departNature", "merchId", "parentDepartId", "remark" },
                values: new object[] { 1, new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), false, null, "测试地址", "01", "", "核算监测", "", null, "", null });

            migrationBuilder.InsertData(
                table: "HospitalDepartment",
                columns: new[] { "Id", "CreatedTime", "IsDeleted", "UpdatedTime", "departAddress", "departId", "departIntro", "departName", "departNature", "merchId", "parentDepartId", "remark" },
                values: new object[] { 2, new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), false, null, "测试地址", "03", "", "核算监测", "", null, "", null });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "HospitalDepartment",
                keyColumn: "Id",
                keyValue: 1);

            migrationBuilder.DeleteData(
                table: "HospitalDepartment",
                keyColumn: "Id",
                keyValue: 2);
        }
    }
}
